﻿// -----------------------------------------------------------------------
//版权所有：广州卡桑信息技术有限责任公司
//创建人:cassan
//修改人:cassan
//最近修改时间:2013/10/20 15:00
//修改内容：
//
// -----------------------------------------------------------------------
using System.Web.Mvc;

namespace CassanCN.Controllers
{
    public class ProductAndServiceController : Controller
    {
        //
        // GET: /ProductAndService/

        public ActionResult Index()
        {
            return View();
        }

        //
        // GET: /ProductAndService/Details/5

        public ActionResult Details(int id)
        {
            return View();
        }

        //
        // GET: /ProductAndService/Create

        public ActionResult Create()
        {
            return View();
        }

        //
        // POST: /ProductAndService/Create

        [HttpPost]
        public ActionResult Create(FormCollection collection)
        {
            try
            {
                // TODO: Add insert logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

        //
        // GET: /ProductAndService/Edit/5

        public ActionResult Edit(int id)
        {
            return View();
        }

        //
        // POST: /ProductAndService/Edit/5

        [HttpPost]
        public ActionResult Edit(int id, FormCollection collection)
        {
            try
            {
                // TODO: Add update logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

        //
        // GET: /ProductAndService/Delete/5

        public ActionResult Delete(int id)
        {
            return View();
        }

        //
        // POST: /ProductAndService/Delete/5

        [HttpPost]
        public ActionResult Delete(int id, FormCollection collection)
        {
            try
            {
                // TODO: Add delete logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
    }
}